//
//  ArenaViewController.m
//  彩票项目
//
//  Created by 伍银荣 on 2021/8/3.
//  Copyright © 2021 com.WYR. All rights reserved.
//

#import "ArenaViewController.h"

@interface ArenaViewController ()

@end

@implementation ArenaViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //使用拉伸的方式来设置背景图片
    self.view.layer.contents = (__bridge id)[UIImage imageNamed:@"backgroundImg"].CGImage;
    
    [self.navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@"navImg"] forBarMetrics:UIBarMetricsDefault];
    
    UISegmentedControl *segControl = (UISegmentedControl *)self.navigationItem.titleView;
    //取消白色的线
    //[segControl setTintColor:[UIColor clearColor]];
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
